<template>
  <div class="SchoolClass">
    <div class="classItem" v-for="item in ClassList" :key="item.id">
      <img :src="`https://ss.lanqb.com/${item.posters.mobile}`" alt="">
      <span>{{item.title}}</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'SchoolClass',
  props:["ClassList"],
  data() {
    return {
      
    };
  },

  mounted() {
    
  },

  methods: {
    
  },
};
</script>

<style lang="scss" scoped>
.SchoolClass{
  background-color: white;
  padding-top: 10px;
  display: flex;
  justify-content: center;
  align-content: center;
  display: flex;
  flex-wrap: wrap;
width: 100vw;
.classItem{
  display: flex;
  flex-direction: column;
  width: 182px;
  height: 143px;
  >img{
    width: 171px;
    height: 95px;
  }
  >span{
    font-weight: 400;
    font-size: 13px;
  }
}
}
</style>